<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    // 展开数组
    let lol = ['EZ','皇子','德玛','诺手'];

    function fn(){
        console.log(arguments);
    }

    fn(...lol);

    // 展开对象
    let skillOne = {
        q: '致命打击',
    };
    let skillTwo = {
        w: '勇气',
    };

    let skillThree = {
        e: '审判',
    };

    let skillFour = {
        r: '大招',
    };

    let dm = {...skillOne, ...skillTwo,...skillThree,...skillFour}
    console.log(dm);
</script>
</html>